/**
 * 
 */
package edu.hadassah.store.management;

import edu.hadassah.store.client.IClient;
import edu.hadassah.store.client.IClientFactory;
import edu.hadassah.store.uniqueid.UniqueId;

/**
 * @author persikov
 *
 */
public class ClientFactoryBasic implements IClientFactory {

	private static long idCounter = 0;
	/**
	 * @param name
	 * @return
	 * @see edu.hadassah.store.client.IClientFactory#createClient(java.lang.String)
	 */
	public IClient createClient(String name) {
		return new Client(new UniqueId("Client #"+(idCounter++)), name);
	}

}
